/*----------------------------------------------------------------------------------------
*
*  Copyright 2019, Gao Hai Hui, <fromzeropoint@126.com>.  All rights reserved.
*  https://gitee.com/helloworldghh/xoskit.git
*  Use of this source code is governed by a MIT license
*  that can be found in the License file.
*
----------------------------------------------------------------------------------------*/
#ifndef __7FB5A334_F0A8_4264_BC27_7A201A4A72DB__
#define __7FB5A334_F0A8_4264_BC27_7A201A4A72DB__

#include "../macro/head.h"
#include "../release/head.h"

/////////////////////////////////////////////////////////////////////////////////////////
// 
namespace xos
{
    // 
    // unknown interface
    // 
    class i_unknown : public i_release
    {
    protected:
        virtual ~i_unknown(){}

    public:
        virtual int query_interface( const char * iid, void ** ppv ) = 0;
        virtual int add_ref() = 0;
    };
}

#endif // __7FB5A334_F0A8_4264_BC27_7A201A4A72DB__
